import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router/index'
import store from '@/store/index'

// elment-plus
import ElementPlus from 'element-plus'
// import '@/style/element/element-style.scss'
import 'element-plus/dist/index.css'
// import 'vite-plugin-svg-icons/register';
import 'virtual:svg-icons-register';
import SvgIcon from '@/components/SvgIcon.vue';
import './assets/style/element-variables.scss'
import './permission'

// 样式文件
import '@/style/index.scss'

createApp(App)
  .use(router)
  .use(store)
  .use(ElementPlus)
  .component('svg-icon',SvgIcon)
  .mount('#app')
